package cn.edu.nuc.film.entity;

/**
 * 功能表
 * @author win7
 *
 */
public class Function {
	/**
	 * 功能id
	 */
    private Integer fid;
    /**
     * 功能名称
     */
    private String fname;
    /**
     * 功能路径
     */
    private String furl;
    /**
     * 功能状态
     */
    private Integer fstate;
    /**
     * 功能父id
     */
    private Integer fpid;
    
    /**
     * 功能父名称
     */
    private String fpname;
    /**
     * 通过rr来判断角色拥有那些功能
     */
    private Integer rr;
    
    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname == null ? null : fname.trim();
    }

    public String getFurl() {
        return furl;
    }

    public void setFurl(String furl) {
        this.furl = furl == null ? null : furl.trim();
    }

    public Integer getFstate() {
        return fstate;
    }

    public void setFstate(Integer fstate) {
        this.fstate = fstate;
    }

    public Integer getFpid() {
        return fpid;
    }

    public void setFpid(Integer fpid) {
        this.fpid = fpid;
    }

	public String getFpname() {
		return fpname;
	}

	public void setFpname(String fpname) {
		this.fpname = fpname;
	}

	public Integer getRr() {
		return rr;
	}

	public void setRr(Integer rr) {
		this.rr = rr;
	}

	@Override
	public String toString() {
		return "Function [fid=" + fid + ", fname=" + fname + ", furl=" + furl + ", fstate=" + fstate + ", fpid=" + fpid
				+ ", fpname=" + fpname + ", rr=" + rr + ", getFid()=" + getFid() + ", getFname()=" + getFname()
				+ ", getFurl()=" + getFurl() + ", getFstate()=" + getFstate() + ", getFpid()=" + getFpid()
				+ ", getFpname()=" + getFpname() + ", getRr()=" + getRr() + ", getClass()=" + getClass()
				+ ", hashCode()=" + hashCode() + ", toString()=" + super.toString() + "]";
	}
    
	
	
	
}